home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / Mounting AppleShare / Mounting AppleShare README next >
Encoding:
Internet Message Format  |  1994-04-21  |  892 b   |  [TEXT/R*ch]

  1. From: Chris Roberts <ctr@pyrite.som.cwru.edu>
  2. Subject: Re: Mounting an Appleshare volume?
  3.  
  4. In article <bkj.759742633@als> Brian Krainer Jacobsen,
  5. bkj@als.sdrborges.dk writes:
  6. >>> Okay, I've been struggling with this for a week, now.  If I know the name
  7. >>> of the volume, and the zone it's in, and all that juicy stuff, how do I get
  8. >>> it to mount?  Everything seems to want a volume refnum.
  9.  
  10. This code does indeed mount a volume... Look up the structures and calls
  11. I use in it, since this code may be a little disorganized (and thus hard
  12. to follow)..
  13.  
  14. -------------------------
  15.  
  16. The words in all CAPS are self-defined OFFSETS in a block of data.
  17.  
  18. Look at the AFPVolMountInfo Record for the
  19. pb is a ParamBlockRec into which myMount gets loaded into.
  20.  
  21. Also, as with most calls all the strings are pascal strings.
  22.  
  23. Hope this helps, any more questions, send me email at
  24. ctr@pyrite.som.cwru.edu
  25.